<%--
  Created by IntelliJ IDEA.
  User: Liu
  Date: 2023/8/24
  Time: 11:07
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<html>
<head>
    <base href="${ctx}/">
    <title>仓库新增</title>
    <script src="assets/lib/jQuery/jquery-3.7.0.min.js"></script>
    <script src="assets/lib/laydate/laydate.js"></script>
    <script src="assets/lib/layer/layer.js"></script>
    <script>
        const ctx = "${ctx}/";
        const error = "${error}"
    </script>
    <script src="assets/JS/warehouse/add.js"></script>
    <link rel="stylesheet" href="assets/CSS/warehouse/add.css">
</head>
<body>
<h1>新增仓库信息</h1>
<div>
    <form id="warehouseForm" action="warehouse/add" method="post">
        <div>
            <label for="warehouseId">仓库编号:</label>
            <input type="text" name="warehouseId" id="warehouseId" placeholder="请输入仓库编号" value="${warehouse.warehouseId}">
        </div>
        <div>
            <label for="warehouseName">仓库编号:</label>
            <input type="text" name="warehouseName" id="warehouseName" placeholder="请输入仓库名称" value="${warehouse.warehouseName}">
        </div>
        <div>
            <label for="address">地址:</label>
            <input type="text" name="address" id="address" placeholder="请输入地址" value="${warehouse.address}">
        </div>
        <div>
            <label for="area">仓库面积:</label>
            <input type="text" name="area" id="area" placeholder="请输入仓库面积" value="${warehouse.area}">
        </div>
        <div>
            <label for="phone">仓库电话:</label>
            <input type="text" name="phone" id="phone" placeholder="请输入仓库电话" value="${warehouse.phone}">
        </div>
        <div>
            <label></label>
            <button type="submit" id="confirm">确认</button>
            <button type="reset" id="reset">重置</button>
        </div>
    </form>
</div>
</body>
</html>
